package com.gongzhiyun.springboot3test.entity.user;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("tb_user_exinfo")
@Schema(description = "用户拓展信息表")
public class TbUserExinfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @TableField(insertStrategy = FieldStrategy.NEVER,updateStrategy = FieldStrategy.NEVER)
    @Schema(description = "用户id", example = "1")
    private Integer id;
    @Schema(description = "用户id", example = "1")
    private Integer uid;
    @Schema(description = "是否关注", example = "false")
    private boolean mineFollow;
    @Schema(description = "是否被关注", example = "false")
    private boolean followMine;
    @Schema(description = "注册天数", example = "1")
    private Integer regDays;
    @Schema(description = "被关注数", example = "1")
    private Integer followMines;
    @Schema(description = "关注数", example = "1")
    private Integer mineFollows;
    @Schema(description = "消息数", example = "1")
    private Integer messages;
    @Schema(description = "回复数", example = "1")
    private Integer replies;
    @Schema(description = "头像", example = "1")
    private String logo;
}
